package com.rising.face.lock.gc.demo1;

/**
 * @Author: rising
 * @Description:
 * @Date: create in 2021/1/17 15:05
 */
public class Test2 {
    public static void main(String[] args) {
        for (int i = 1; ; i++) {
            System.out.println("******************* i = " + i);
            new Thread(() -> {
                try {
                    Thread.sleep(Integer.MAX_VALUE);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }, "" + i).start();
        }
    }
}
